package com.dianxin.smartpark.service.attendance;

import com.chinatelecom.response.common.CommonResponseBody;
import com.dianxin.smartpark.dao.qo.attendance.SmartParkAttendanceGroupQO;
import com.dianxin.smartpark.dao.qo.attendance.SmartParkShiftQO;
import com.dianxin.smartpark.dao.qo.attendance.SmartParkVacationTypeQO;
import com.dianxin.smartpark.service.vo.attendance.SmartParkShiftVO;
import com.dianxin.smartpark.service.vo.attendance.SmartParkVacationTypeVO;

import java.util.List;

/**
 * @program: smart-park
 * @description:
 * @author: chenyong
 * @create: 2021-07-23 16:06
 */
public interface SmartParkShiftService {

    /**
     * @Description:  分页
     * @Author: ChenYong
     * @Date: 2021/7/23 0023
     * @param smartParkShiftQO:
     * @Return: CommonResponseBody<List<SmartParkShiftVO>>
     */
    CommonResponseBody<List<SmartParkShiftVO>> getShifts(SmartParkShiftQO smartParkShiftQO);

    /**
     * @Description:  添加
     * @Author: ChenYong
     * @Date: 2021/7/23 0023
     * @param smartParkShiftQO:
     * @Return: CommonResponseBody
     */
    CommonResponseBody saveShift(SmartParkShiftQO smartParkShiftQO);

    /**
     * @Description:  修改
     * @Author: ChenYong
     * @Date: 2021/7/23 0023
     * @param smartParkShiftQO:
     * @Return: CommonResponseBody
     */
    CommonResponseBody updateShift(SmartParkShiftQO smartParkShiftQO);

    /**
     * @Description:  删除
     * @Author: ChenYong
     * @Date: 2021/7/23 0023
     * @param ids:
     * @Return: CommonResponseBody
     */
    CommonResponseBody deleteShift(Long[] ids);

    /**
     * @Description:  获取班次详情信息
     * @Author: ChenYong
     * @Date: 2021/7/30 0030
     * @param smartParkShiftQO:
     * @Return: CommonResponseBody
     */
    CommonResponseBody shiftDetails(SmartParkShiftQO smartParkShiftQO);

}
